package com.xydpeng.rpc.test;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author xydpeng
 * @version v1.0
 * @date: 2023/4/10
 * @description:
 */
public class EchoServiceImpl implements EchoService {
    @Override
    public Map echo(String param, int a) {
        Map<Integer, String> map = new HashMap();
        map.put(1, "yes");
        return map;
    }

    @Override
    public void hello(List<String> words, Map headers) {
        System.out.println("EchoServiceImpl hello");
    }
}
